<?php echo form_open_multipart('', 'class="form-horizontal" role="form"');?>
	<div class="form-group">
		<label class="col-sm-3 control-label no-padding-right">First Name <span class="red"> *</span></label>
		<div class="col-sm-9">
			<?php echo form_input('fname', set_value('fname'), 'autocomplete="off" class="col-xs-10 col-sm-5"'); ?>
			<?php echo form_error('fname', '<div class="col-sm-12 no-padding red">', '</div>'); ?>
		</div>
	</div>
	<div class="space-4"></div>
	<div class="form-group">
		<label class="col-sm-3 control-label no-padding-right">Last Name <span class="red"> *</span></label>
		<div class="col-sm-9">
			<?php echo form_input('lname', set_value('lname'), 'autocomplete="off" class="col-xs-10 col-sm-5"'); ?>
			<?php echo form_error('lname', '<div class="col-sm-12 no-padding red">', '</div>'); ?>
		</div>
	</div>
	<div class="space-4"></div>
	<div class="form-group">
		<label class="col-sm-3 control-label no-padding-right">Username <span class="red"> *</span></label>
		<div class="col-sm-9">
			<?php echo form_input('username', set_value('username'), 'autocomplete="off" class="col-xs-10 col-sm-5"'); ?>
			<?php echo form_error('username', '<div class="col-sm-12 no-padding red">', '</div>'); ?>
		</div>
	</div>
	<div class="space-4"></div>
	<div class="form-group">
		<label class="col-sm-3 control-label no-padding-right">Password <span class="red"> *</span></label>
		<div class="col-sm-9">
			<?php echo form_password('password', set_value('password'), 'autocomplete="off" class="col-xs-10 col-sm-5"'); ?>
			<?php echo form_error('password', '<div class="col-sm-12 no-padding red">', '</div>'); ?>
		</div>
	</div>
	<div class="space-4"></div>
	<div class="form-group">
		<label class="col-sm-3 control-label no-padding-right">Confirm Password <span class="red"> *</span></label>
		<div class="col-sm-9">
			<?php echo form_password('conPassword', set_value('conPassword'), 'autocomplete="off" class="col-xs-10 col-sm-5"'); ?>
			<?php echo form_error('conPassword', '<div class="col-sm-12 no-padding red">', '</div>'); ?>
		</div>
	</div>
	<div class="space-4"></div>
	<div class="form-group">
		<label class="col-sm-3 control-label no-padding-right">Email <span class="red"> *</span></label>
		<div class="col-sm-9">
			<?php echo form_input('email', set_value('email'), 'autocomplete="off" class="col-xs-10 col-sm-5"'); ?>
			<?php echo form_error('email', '<div class="col-sm-12 no-padding red">', '</div>'); ?>
		</div>
	</div>
	<div class="space-4"></div>
	<div class="form-group">
		<label class="col-sm-3 control-label no-padding-right">Phone</label>
		<div class="col-sm-9">
			<?php echo form_input('phone', set_value('phone'), 'autocomplete="off" class="col-xs-10 col-sm-5"'); ?>
			<?php echo form_error('phone', '<div class="col-sm-12 no-padding red">', '</div>'); ?>
		</div>
	</div>
	<div class="space-4"></div>
	<div class="form-group">
		<label class="col-sm-3 control-label no-padding-right">Role <span class="red"> *</span></label>
		<div class="col-sm-9">
			<?php echo form_dropdown('role', $role, set_value('role'), 'class="col-xs-10 col-sm-5"'); ?>
			<?php echo form_error('role', '<div class="col-sm-12 no-padding red">', '</div>'); ?>
		</div>
	</div>
	<div class="space-4"></div>
	<div class="form-group">
		<label class="col-sm-3 control-label no-padding-right">Photo</label>
		<div class="col-sm-9">
			<div class="ace-file-input col-xs-10 col-sm-5 no-padding">
				<input type="file" id="input-file-image" name="image" />
			</div>
		</div>
	</div>
	<div class="clearfix form-actions">
		<div class="col-md-offset-3 col-md-9">
			<?php echo anchor(site_url(module_controller('view')),'&larr; Cancel', 'class="btn"');?>
			<button name="btnSave" class="btn btn-info" type="submit">
				<i class="icon-ok bigger-110"></i>Save
			</button>
		</div>
	</div>
<?php echo form_close();?>